@model Course
<form asp-action="Edit" method="post">
    <label asp-for="Coursename">课程名称</label>
    <input asp-for="Coursename">
    <button type="submit">保存</button>
    <a asp-action="Index">取消</a>
</form>